﻿using System.Web;
using System.Web.Optimization;

namespace FangDuShi_Front
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js",
                       "~/Scripts/jquery.inputbox.js",
                       "~/Scripts/jquery.ganged.js",
                        "~/Scripts/jquery.placeholder.js",
                       "~/Scripts/bootstrap3-typeahead.js"
                       ));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap-9").Include(
                       "~/Scripts/html5shiv.js"
                        ));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/bootstrap-theme.css",
                       "~/Content/site.css",
                       "~/Content/jquery.inputbox.css"));

            //bundles.Add(new StyleBundle("~/Content/bootstrap-8").Include(
            //         "~/Content/bootstrap-ie7.css"));




            //测试用
            bundles.Add(new StyleBundle("~/Content/test1").Include(
                   "~/Content/bootstrap.css",
                   "~/Content/bootstrap-theme.css",
                    "~/Content/site.css",
                    "~/Content/jquery.inputbox.css"));

            bundles.Add(new ScriptBundle("~/bundles/test1").Include(
                      "~/Scripts/bootstrap.js",
                      "~/Scripts/respond.js",
                       "~/Scripts/jquery.placeholder.js",
                       "~/Scripts/jquery.inputbox.js",
                       "~/Scripts/jquery.ganged.js",
                       "~/Scripts/bootstrap3-typeahead.js",
                       "~/Scripts/jquery.validate.js"));



        }
    }
}
